Vcenter NamespaceManagement InfrastructurePolicies LabelSelectorRequirement
The Vcenter NamespaceManagement InfrastructurePolicies LabelSelectorRequirement schema contains a label selector requirement. The logic between multiple label requirements is AND.
This schema was added in vSphere API 9.1.0.0.
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
The label key that the selector applies to.
This property was added in vSphere API 9.1.0.0.
The operator that relates the key and values.
For more information see: Vcenter NamespaceManagement InfrastructurePolicies LabelSelectorOperator.
This property was added in vSphere API 9.1.0.0.
An array of string values. If the operator is ValueSelectorOperator#IS_IN or ValueSelectorOperator#IS_NOT_IN, the values array must be non-empty. If the operator is ValueSelectorOperator#EXISTS or ValueSelectorOperator#DOES_NOT_EXIST, the values array must be empty.
This property was added in vSphere API 9.1.0.0.
Required for ValueSelectorOperator#IS_IN and ValueSelectorOperator#IS_NOT_IN operators, ignored for others.